/* authentication related services */

var express = require('express')
var router = express.Router()


//var App = React.createFactory(main.App);

router.get("/login", function(req, res, next){
  return res.render("login");
})

router.post("/login", function(req, res, next){
  return res.redirect("/");
})

router.get("/logout", function(req, res, next){
  return res.redirect("/login")
})

module.exports = router;
